PostenBringCheckout\admin\Backoffice C

Total Complexity 122
Dependencies 17
Dependents 1
Total lines 1,031
Lines of code 705
Logical lines of code 286
Comment lines 227
Methods 33
Properties 1

Methods 33

Method Rating Maintainability Complexity Lines of code
prefetch_order()
B
34 20 85
check_if_block_checkout_is_active()
A
45 14 35
update_product_meta_data()
A
54 12 19
register_api_endpoints()
A
35 1 139
add_warnings()
S
50 7 30
validate_postal_code()
S
54 7 20
enqueue_scripts()
S
50 5 25
add_custom_product_meta_data()
S
45 3 49
add_bring_as_shipping_company()
S
55 4 20
add_shipping_provider_filter()
S
54 4 20
add_posten_bring_booking_status_data()
S
58 4 15
apply_shipping_company_filter()
S
61 4 11
sort_shipping_options()
S
57 3 18
get_file_version()
S
70 4 6
add_massbooking_modal()
S
62 3 14
add_custom_product_variant_meta_data()
S
47 1 44
renderPostenHtmlBlock()
S
51 2 26
add_posten_bring_checkout_menu()
S
49 1 38
rename_shipping_option_on_details_page()
S
65 3 9
add_posten_block_to_email()
S
74 2 5
load_bring_section_on_order_details_meta()
S
74 2 5
display_selected_shipping_method_in_order_preview()
S
63 2 10
store_custom_product_variant_meta_data()
S
66 2 8
store_custom_product_meta_data()
S
66 2 8
add_plugin_links()
S
65 2 8
__construct()
S
81 1 3
hide_shipping_method_meta_data()
S
78 1 3
add_posten_bring_booking_status_column()
S
75 1 4
posten_bring_checkout_add_bulk_action()
S
75 1 4
add_posten_bring_shipping_options()
S
68 1 7
register_posten_bring_shipping_options()
S
79 1 3
register_woo_onboarding_tasks()
S
64 1 10
add_posten_bring_checkout_log_handler()
S
76 1 4